<template>
  <div class="page">
    <div class="loading">正在进入...</div>
  </div>
</template>

<script setup>
const { query } = useRoute()
const { replace } = useRouter()

const init = async () => {
  replace(query.redirect)
}

init()
</script>

<style lang="less" scoped>
.loading {
  text-align: center;
  padding-top: 30%;
}
</style>
